package com.constructor;

public class Student {
int id;
String name;
Student(int id,String name){
	this.id=id;
	this.name=name;
}
class StudentNew extends Student{
	long phone;
	StudentNew(int id, String name,long phone) {
		super(id,name);
		this.phone=phone;
	}

	
}
public static void main(String[] args) {
	Student s1=new  Student(1,"abc");
	System.out.println(s1.id);
	System.out.println(s1.name);
}
}
